/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DomainLayer;
import TUILayer.*;
/**
 *
 * @author Middreks
 * Licensed under GNU/GPLv2
 * Credits go to Group 4
 */
public class Copy {

    private int serialNumber;
    private String rentalDate;
    private int rentalPrice;
    private DVD DVDName;

    public Copy(int serialNumber, String rented, int price, DVD dvd) {
        this.serialNumber = serialNumber;
        this.rentalDate = rented;
        this.rentalPrice = price;
        DVDName = dvd;
    }

    public String getrented() {
        return rentalDate;
    }

    public void setrented(String rented) {
        this.rentalDate = rented;
    }

    public int getprice() {
        return rentalPrice;
    }

    public void setPrice(int price) {
        this.rentalPrice = price;
    }

    public int getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(int serialNumber) {
        this.serialNumber = serialNumber;
    }

    public DVD getDVDName() {
        return DVDName;
    }

    public void setDVDName(DVD DVDName) {
        this.DVDName = DVDName;
    }
    
}
